package work.shyk.cdp.xmlDemo.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * description: <br>
 * createTime: 2020/10/2015:43 <br>
 *
 * @author zzh
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = {
        "host",
        "port",
        "userName",
        "remoteResultPath",
})
public class SlaveEntity {

    String host;
    String userName;
    String port;
    @XmlElement(required=false,name="remoteResultPath")
    String remoteResultPath;

    public String getHost() {
        return host;
    }
    public void setHost(String host) {
        this.host = host;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPort() {
        return port;
    }
    public void setPort(String port) {
        this.port = port;
    }
    public String getRemoteResultPath() {
        return remoteResultPath;
    }
    public void setRemoteResultPath(String remoteResultPath) {
        this.remoteResultPath = remoteResultPath;
    }
    @Override
    public String toString() {
        return "SlaveEntity [host=" + host + ", userName=" + userName + ", port=" + port + ", remoteResultPath="
                + remoteResultPath + "]";
    }
}
